package com.joker.orange.service;

import com.joker.common.core.page.TableDataInfo;
import com.joker.orange.domain.CollectionInfo;
import com.joker.orange.domain.bo.CollectionBo;
import com.joker.orange.domain.vo.CollectionVo;

import java.util.List;

public interface ICollectionService {

    CollectionInfo selectCollection(CollectionInfo collectionInfo);

    void deleteCollection(CollectionInfo collectionInfo);

    /**
     * 新增收藏
     */
    void insertCollection(CollectionInfo collectionInfo);

    /**
     * 删除收藏
     */
    void deleteCollection(List<String> collectionIds);

    /**
     * 收藏By网格视频
     */
    TableDataInfo<CollectionVo> selectCollectionByLongVideo(CollectionBo bo);

    /**
     * 收藏By短视频
     */
    TableDataInfo<CollectionVo> selectCollectionByShortVideo(CollectionBo bo);

    /**
     * 收藏By小说
     */
    TableDataInfo<CollectionVo> selectCollectionByNovel(CollectionBo bo);

    /**
     * 收藏By动漫
     */
    TableDataInfo<CollectionVo> selectCollectionByAnime(CollectionBo bo);

    /**
     * 收藏By漫画
     */
    TableDataInfo<CollectionVo> selectCollectionByCaricature(CollectionBo bo);

}
